﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MC.RideEvent.Mvc.Models.Entity;

namespace MC.RideEvent.Mvc.Models.Entity
{
    public partial class Event
    {
        /// <summary>
        /// Return full address of event.
        /// </summary>
        /// <returns></returns>
        public string FullAddress()
        {
            string fullAddress = string.Format("{0} {1} {2}", Address, Cp, City);

            return fullAddress;
        }
    }
}